<?php
/**
 * 示例控制器
 */
namespace app\home\ctrl;

use core\model\articleModel;

class articleCtrl extends \ppphp
{
	public function index()
	{
		$articleModel = new articleModel();
		$data = $articleModel->articleList();
		//echo p($data);
		$this->assign('data',$data);
		$this->display('news/list.html');
	}
}